package br.com.absolutech.study.chapter7.pag345;

class Animal { }
class Dog extends Animal{ }

public class AnimalHolder<T extends Animal> {

	T animal;
	
	public static void main(String[] args) {
		AnimalHolder<Dog> dogHolder = new AnimalHolder<Dog>();
		AnimalHolder<Integer> x = new AnimalHolder<Integer>(); //naaaao
	}
	
}
